using System;
using System.Xml;
using System.Xml.Serialization;
namespace SERP.DAO{
	/********************************BEGIN SalaryRulePeopleEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:09/03/2013 19:09:04</para>
	/// <para>Class Name: SalaryRulePeopleEntity</para>
	/// <para>Description: ClassSalaryRulePeopleEntity store data of table SalaryRulePeople</para>
	///</summary>

	[Serializable]
	public partial class SalaryRulePeopleEntity{


		private bool _InternalChangedIsNullSalaryRulePeopleId=true;
		private bool _IsNullSalaryRulePeopleId=true;
		private bool _InternalChangedIsNullSalaryRuleId=true;
		private bool _IsNullSalaryRuleId=true;
		private bool _InternalChangedIsNullPersonId=true;
		private bool _IsNullPersonId=true;
		private int _SalaryRulePeopleId;
		private int _SalaryRuleId;
		private int _PersonId;
		[XmlElement(ElementName = "IsNullSalaryRulePeopleId")]
		public bool IsNullSalaryRulePeopleId{
			get{return _IsNullSalaryRulePeopleId;}
			set{if(!_InternalChangedIsNullSalaryRulePeopleId)_IsNullSalaryRulePeopleId=value;}
		}
		[XmlElement(ElementName = "IsNullSalaryRuleId")]
		public bool IsNullSalaryRuleId{
			get{return _IsNullSalaryRuleId;}
			set{if(!_InternalChangedIsNullSalaryRuleId)_IsNullSalaryRuleId=value;}
		}
		[XmlElement(ElementName = "IsNullPersonId")]
		public bool IsNullPersonId{
			get{return _IsNullPersonId;}
			set{if(!_InternalChangedIsNullPersonId)_IsNullPersonId=value;}
		}
		[XmlElement(ElementName = "SalaryRulePeopleId")]
		public int SalaryRulePeopleId{
			get{return _SalaryRulePeopleId;}
			set{
				_SalaryRulePeopleId=value;
				if(_SalaryRulePeopleId!=null){
					_IsNullSalaryRulePeopleId=false;
					_InternalChangedIsNullSalaryRulePeopleId=true;
				}
			}
		}
		[XmlElement(ElementName = "SalaryRuleId")]
		public int SalaryRuleId{
			get{return _SalaryRuleId;}
			set{
				_SalaryRuleId=value;
				if(_SalaryRuleId!=null){
					_IsNullSalaryRuleId=false;
					_InternalChangedIsNullSalaryRuleId=true;
				}
			}
		}
		[XmlElement(ElementName = "PersonId")]
		public int PersonId{
			get{return _PersonId;}
			set{
				_PersonId=value;
				if(_PersonId!=null){
					_IsNullPersonId=false;
					_InternalChangedIsNullPersonId=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END SalaryRulePeopleEntityBase*****************************************/
	/*****************************************************************************************************/
}

